package br.usp.ime.origami.main;

import br.usp.ime.origami.foldcut.gui.Screen;
import br.usp.ime.origami.foldcut.gui.canvas.InputDataCanvas;
import br.usp.ime.origami.foldcut.gui.listener.InputDataMouseListener;

public class DiskPacking
{
	public static void main(String[] args)
	{
		
		InputDataCanvas canvas = new InputDataCanvas();
		InputDataMouseListener listener = new InputDataMouseListener(canvas); 
		
		
		canvas.setSize(800, 800);
		canvas.addMouseListener(listener);
		canvas.addMouseMotionListener(listener);
		canvas.setVisible(true);
		
		Screen screen = new Screen(canvas);
		screen.open();

		while (true)
		{
			try
			{
				Thread.sleep(100);
			} catch (InterruptedException e)
			{
				e.printStackTrace();
			}
		}
	}
}
